﻿/*************************************************************************************

- CLR版本：        4.0.30319.42000
- 类 名 称：       CONST
- 机器名称：       YTE
- 命名空间：       LD.Host
- 文 件 名：       CONST
- 创建时间：       2022/6/10 19:02:23
- 作    者：       YTE
- 说   明：
- 修改时间：
- 修 改 人：
  *************************************************************************************/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LD.Host
{

    public class CONST
    {
        #region 系统
        public const string SYS_WIP = "SYS_WIP";
        public const string SYS_SOURCE_RUN = "SYS_SOURCE_RUN";

        #endregion
        #region 机种
        public const string PARTNO = "PARTNO";
        #endregion
        #region 全局变量
        public const string VARIABLE = "VARIABLE";
        
        #endregion
        #region VISION
        public const string VISION = "VISION";
        public const string VISION_CONFIG = "VISION_CONFIG";
        public const string VISION_VM = "VISION_VM";
        public const string VISION_RESULT = "VISION_RESULT";
        public const string VISION_V1 = "VISION_V1";
        public const string VISION_V2 = "VISION_V2";
        public const string VISION_V3 = "VISION_V3";
        public const string VISION_V4 = "VISION_V4";

        #region 标定

        public const string CALIB1_MOVESTEP = "CALIB1_MOVESTEP";              //标定移动距离
        public const string CALIB1_START = "CALIB1_START";                    //标定PLC开始信号
        public const string CALIB1_X = "CALIB1_X";                            //标定PLC当前位置x
        public const string CALIB1_Y = "CALIB1_Y";                            //标定PLC当前位置y
        public const string CALIB1_Z = "CALIB1_Z";                            //标定PLC当前位置z
        public const string CALIB1_POINTOK = "CALIB1_POINTOK";                //标定通知PLC计算好位置了
        public const string CALIB1_X_WRITE = "CALIB1_X_WRITE";                //标定通知PLCX移动的位置
        public const string CALIB1_Y_WRITE = "CALIB1_Y_WRITE";                //标定通知PLCY移动的位置
        public const string CALIB1_Z_WRITE = "CALIB1_Z_WRITE";                //标定通知PLCZ移动的位置
        public const string CALIB1_MOVESTART = "CALIB1_MOVESTART";            //标定通知PLC开始移动
        public const string CALIB1_MOVEOVER = "CALIB1_MOVEOVER";              //标定PLC移动结束
        public const string CALIB1_OK = "CALIB1_OK";                          //标定PLC成功
        public const string CALIB1_NG = "CALIB1_NG";                          //标定PLC失败
        public const string CALIB1_OVER = "CALIB1_OVER";                      //标定PLC结果展示在UI
        #endregion

        #endregion

        #region  MES
        public const string MES = "MES";
        public const string 蓝思 = "蓝思";
        public const string 光弘 = "光弘";
        public const string 华勤 = "华勤";
        public const string BYD = "BYD";
        public const string 朵唯 = "朵唯";
        public const string 富士康 = "富士康";
        public const string 衡阳富士康 = "衡阳富士康";
        public const string 东莞德普特 = "东莞德普特";
        public const string 夏普 = "夏普";
        #endregion

        #region BC
        public const string BC = "BC";
        public const string BC_CONFIG = "BC_CONFIG";
        public const string BC_SOUND = "BC_SOUND";
        public const string BC_ERRORING = "BC_ERRORING";
        public const string BC_ISRESET = "BC_ISRESET";
        public const string BC_ISRESETING = "BC_ISRESETING";

        #endregion

        //蓝思
        public const string LS_MES_URL = "LS_MES_URL";
        public const string LS_MES_USER = "LS_MES_USER";
        public const string LS_MES_PWD = "LS_MES_PWD";

        //夏普
        public const string SHARP_USERCODE = "SHARP_USERCODE";
        public const string SHARP_MACHINECODE = "SHARP_MACHINECODE";
        public const string SHARP_LINECODE = "SHARP_LINECODE";
        public const string SHARP_KEYENCEIP = "SHARP_KEYENCEIP";
        public const string SHARP_KEYENCEPORT = "SHARP_KEYENCEPORT";
        public const string SHARP_MESURL = "SHARP_MESURL";
        public const string SHARP_FTPIP = "SHARP_FTPIP";
        public const string SHARP_FTPNAME = "SHARP_FTPNAME";
        public const string SHARP_FTPPWD = "SHARP_FTPPWD";
        public const string SHARP_FTPLOCAL = "SHARP_FTPLOCAL";
        public const string SHARP_FTPREMOTE = "SHARP_FTPREMOTE";
        public const string SHARP_FPCUP = "SHARP_FPCUP";
        public const string SHARP_FPCDOWN = "SHARP_FPCDOWN";

        //德普特
        public const string DPT_MACHINE = "DPT_MACHINE";
        public const string DPT_TYPE = "DPT_TYPE";
        public const string DPT_URL = "DPT_URL";
        public const string DPT_ISMES = "DPT_ISMES";
        public const string DPT_ISSAVECSV = "DPT_ISSAVECSV";
        public const string DPT_MESPORT = "DPT_MESPORT";

        //FOBAOI
        public const string FOBAOI_TESTPOINT = "FOBAOI_TESTPOINT";
        public const string FOBAOI_TESTMAX = "FOBAOI_TESTMAX";
        public const string FOBAOI_TESTMIN = "FOBAOI_TESTMIN";
        public const string FOBAOI_TESTMOVE = "FOBAOI_TESTMOVE";       //单步移动距离
        public const string FOBAOI_OFFSET_X = "FOBAOI_OFFSET_X";
        public const string FOBAOI_OFFSET_Y = "FOBAOI_OFFSET_Y";
        public const string FOBAOI_OFFSET_R = "FOBAOI_OFFSET_R";

        //衡阳富士康
        public const string HYFSK_MES_URL = "HYFSK_MES_URL";
        public const string HYFSK_MES_INTERFACE = "HYFSK_MES_INTERFACE";
        public const string HYFSK_MES_STATIONCODE = "HYFSK_MES_STATIONCODE";
        public const string HYFSK_MES_STATIONNUM = "HYFSK_MES_STATIONNUM";
        public const string HYFSK_MES_ENABLED = "HYFSK_MES_ENABLED";
        public const string HYFSK_PRESS_UP = "HYFSK_PRESS_UP";
        public const string HYFSK_PRESS_DOWN= "HYFSK_PRESS_DOWN";
        public const string HYFSK_PRESS_TIMER = "HYFSK_PRESS_TIMER";
        public const string HYFSK_SCREW_SLOT1 = "HYFSK_SCREW_SLOT1";
        public const string HYFSK_SCREW_SLOT2 = "HYFSK_SCREW_SLOT2";
        public const string HYFSK_DATA_DAY = "HYFSK_DATA_DAY";

    }
}
